home *** CD-ROM | disk | FTP | other *** search
/ An Introduction to Progr…l Basic 6.0 (4th Edition) / An Introduction to Programming using Visual Basic 6.0.iso / PROGRAMS / CH3 / 3-3-2.FRM (.txt) < prev    next >
Encoding:
Visual Basic Form  |  1997-04-27  |  1.5 KB  |  51 lines

  1. VERSION 5.00
  2. Begin VB.Form frm3_3_2 
  3.    Caption         =   "3-3-2"
  4.    ClientHeight    =   2385
  5.    ClientLeft      =   1095
  6.    ClientTop       =   1485
  7.    ClientWidth     =   1860
  8.    BeginProperty Font 
  9.       Name            =   "MS Sans Serif"
  10.       Size            =   8.25
  11.       Charset         =   0
  12.       Weight          =   700
  13.       Underline       =   0   'False
  14.       Italic          =   0   'False
  15.       Strikethrough   =   0   'False
  16.    EndProperty
  17.    LinkTopic       =   "Form1"
  18.    PaletteMode     =   1  'UseZOrder
  19.    ScaleHeight     =   2385
  20.    ScaleWidth      =   1860
  21.    Begin VB.PictureBox picResults 
  22.       Height          =   1575
  23.       Left            =   240
  24.       ScaleHeight     =   1515
  25.       ScaleWidth      =   1275
  26.       TabIndex        =   1
  27.       Top             =   120
  28.       Width           =   1335
  29.    End
  30.    Begin VB.CommandButton cmdCompute 
  31.       Caption         =   "Compute"
  32.       Height          =   495
  33.       Left            =   240
  34.       TabIndex        =   0
  35.       Top             =   1800
  36.       Width           =   1335
  37.    End
  38. Attribute VB_Name = "frm3_3_2"
  39. Attribute VB_GlobalNameSpace = False
  40. Attribute VB_Creatable = False
  41. Attribute VB_PredeclaredId = True
  42. Attribute VB_Exposed = False
  43. Private Sub cmdCompute_Click()
  44.   picResults.Cls
  45.   picResults.Print 1.2 * 10 ^ 34
  46.   picResults.Print 1.2 * 10 ^ 8
  47.   picResults.Print 1.2 * 10 ^ 3
  48.   picResults.Print 10 ^ -20
  49.   picResults.Print 10 ^ -2
  50. End Sub
  51.